package com.cls.business.service;

import com.cls.business.entity.LogDeclareTopic;

import com.cls.common.entity.QueryRequest;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author wandering
 * @date 2020-11-17 09:52:30
 */
public interface ILogDeclareTopicService extends IService<LogDeclareTopic> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param logDeclareTopic logDeclareTopic
     * @return PageInfo<LogDeclareTopic>
     */
    PageInfo<LogDeclareTopic> findLogDeclareTopics(QueryRequest request, LogDeclareTopic logDeclareTopic);

    List<LogDeclareTopic> findLogDeclareTopics(Long declareId);

    /**
     * 查询（所有）
     *
     * @param logDeclareTopic logDeclareTopic
     * @return List<LogDeclareTopic>
     */
    List<LogDeclareTopic> findLogDeclareTopics(LogDeclareTopic logDeclareTopic);

    /**
     * 新增
     *
     * @param logDeclareTopic logDeclareTopic
     */
    void createLogDeclareTopic(LogDeclareTopic logDeclareTopic);

    /**
     * 修改
     *
     * @param logDeclareTopic logDeclareTopic
     */
    void updateLogDeclareTopic(LogDeclareTopic logDeclareTopic);

    /**
     * 删除
     *
     * @param ids logDeclareTopic
     */
    void deleteLogDeclareTopics(String[] ids);
}
